      import java.util.Scanner;
       public class pp212
    {
     public static void main(String[] args)
      {
      int BASE = 4;
       double side,perimeter,area;
      
      Scanner scan = new Scanner(System.in);
      
      System.out.println("What is the side?");
      side = scan.nextDouble();
      
       perimeter = side * BASE;
     System.out.println("perimeter"+ perimeter);
     
     area = side * side;
     System.out.println("area"+ area);
   }
    }
